sos22@douglas.cl.cam.ac.uk [Thu, 18 Aug 2005 15:27:55 +0000 (15:27 +0000)]
Actually make suspending SMP domUs work: the previous commit didn't
bring the other vcpus up correctly.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
sos22@douglas.cl.cam.ac.uk [Wed, 17 Aug 2005 14:37:22 +0000 (14:37 +0000)]
Make xm save/restore work for SMP guest domains.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 13:34:42 +0000 (13:34 +0000)]
Fix module build by removing duplicate EXPORT_SYMBOL of
dma_alloc_coherent and dma_free_coherent.
kaf24@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 13:33:55 +0000 (13:33 +0000)]
Allocate_empty_lowmem_regions available to non-priv domains
and to modules. From Ross Mcilroy.
iap10@freefall.cl.cam.ac.uk [Wed, 17 Aug 2005 12:30:04 +0000 (12:30 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Wed, 17 Aug 2005 12:29:34 +0000 (12:29 +0000)]
Another tweak to the network-bridge script.
Signed-off-by: ian@xensource.com
cl349@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 12:26:05 +0000 (12:26 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 12:25:50 +0000 (12:25 +0000)]
Restore domains with a different uuid than they had.
Needed for migration to localhost and migration between hosts with
a shared/distributed xenstore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 10:35:39 +0000 (10:35 +0000)]
Python build fix.
cl349@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 10:18:34 +0000 (10:18 +0000)]
Recreate watches on domain restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 10:18:13 +0000 (10:18 +0000)]
Clear "/control/shutdown" node on domain restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 09:59:04 +0000 (09:59 +0000)]
xenbus build and license fixes.
cl349@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 09:50:26 +0000 (09:50 +0000)]
Add support for XENSTORED_TRACE to enable trace output from xenstored.
Set XENSTORED_TRACE in /usr/sbin/xenstored's environment to enable the
trace output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 08:52:04 +0000 (08:52 +0000)]
Fix compile warning from zero-length printf format string.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 08:27:16 +0000 (08:27 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Wed, 17 Aug 2005 08:26:58 +0000 (08:26 +0000)]
Avoid spurious "Ignoring shutdown request" messages, fix memory leak and simplif
y code.
Also fix whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
iap10@freefall.cl.cam.ac.uk [Tue, 16 Aug 2005 20:00:53 +0000 (20:00 +0000)]
Yet another work-around in the network-bridge script
From: Zhai, Edwin [edwin.zhai@intel.com]
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 19:38:22 +0000 (19:38 +0000)]
Really randomise MAC addresses for multi-VIF guests.
Reseeding on every VIF doesn;t work as timeofday doesn't
change quickly enough.
Signed-off-by: Jim Dykman <dykman@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 18:12:19 +0000 (18:12 +0000)]
Add a couple of well chosen assertions to new context
switch code.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 18:02:24 +0000 (18:02 +0000)]
Fix context switching race which could cause vcpu_pause()
to not actually do its job properly. This requires us to
move clearing of VCPUF_running to be protected by the
scheduler lock.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 17:02:49 +0000 (17:02 +0000)]
Don't bail early if we detect that time goes backwards.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 17:00:52 +0000 (17:00 +0000)]
cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 16:34:46 +0000 (16:34 +0000)]
merge?
cl349@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 16:34:04 +0000 (16:34 +0000)]
Only introduce domain to the store when we have store channel _and_ mfn.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 16:33:12 +0000 (16:33 +0000)]
In direct_remap_area_pages, reset w pointer for next loop after use.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 15:40:43 +0000 (15:40 +0000)]
Fix xtime_lock handling in timer interrupt. There's no need
to hold it while doing local VCPU work, and there might be
danger of deadlock if we do.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 11:20:47 +0000 (11:20 +0000)]
Use a SWIOTLB to use pre-reserved bounce buffers for high memory
and multi-page DMA accesses. This is based on a preliminary patch
from Suresh Siddha at Intel.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
akw27@arcadians.cl.cam.ac.uk [Tue, 16 Aug 2005 10:12:18 +0000 (10:12 +0000)]
Add grant table support to block tap.
This patch adds grant table support to the block tap. The AIO support
introduced in patch
9f0eff879d8913a824280cf67658a530c80e8424 still
works -- The tap code maps a granted page twice, once in kernel and
once in user. The kernel page is patched into the p2m table and pages
added to the user vm_area are mapped to the appropriate underlying
struct pages using the VM_FOREIGN hooks in get_user_pages().
Comparing block IO from dom0 to the existing block backend, and to the
tap managing the same partition as the BE from user space with AIO, I
get the following performance:
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
xen0 2G 31198 95 56818 8 20967 2 28415 77 59595 4 264.9 0
xenU-blkbe2cpuGT 2G 31157 96 54026 10 25585 4 30664 90 64919 7 292.7 0
xenU-blktp2cpuGT 2G 32313 97 54217 8 20950 3 28117 87 65924 4 191.8 0
Signed-off-by: andrew.warfield@cl.cam.ac.uk
kaf24@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 07:07:11 +0000 (07:07 +0000)]
Disable xenconsoled throttling for now.
kaf24@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 07:06:10 +0000 (07:06 +0000)]
Under the right circumstances, xenconsoled will corrupt its internal
list of domains causing a SEGV. This is usually characterized by a
rapid number of creations/destructions. The attached patch fixes this.
1) Fix uninitialized next pointer. This could sometimes cause xenconsoled to
SEGV on an invalid domain pointer
2) Fix race condition in iterating domain list where removing a domain in a
callback could lead to the iterators becoming invalid.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
iap10@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 01:04:32 +0000 (01:04 +0000)]
merge
iap10@firebug.cl.cam.ac.uk [Tue, 16 Aug 2005 01:01:19 +0000 (01:01 +0000)]
merge
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 21:47:44 +0000 (21:47 +0000)]
Tweaks to network-bridge script.
Signed-off-by: ian@xensource.com
adsharma@los-vmm.sc.intel.com [Mon, 15 Aug 2005 20:50:38 +0000 (12:50 -0800)]
Enable multi-word DMA mode 2 for the PIIX3 chipset
Without this patch, Linux PIIX3 driver would see ultra DMA and get confused
and ended up disabling DMA.
With the patch, we're able to see 3x increase in disk read throughput.
Signed-off-by: Winston Wang <winston.l.wang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
adsharma@los-vmm.sc.intel.com [Mon, 15 Aug 2005 20:50:32 +0000 (12:50 -0800)]
Distinguish ioemu handled devices and para virtualized devices
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
adsharma@los-vmm.sc.intel.com [Mon, 15 Aug 2005 20:50:25 +0000 (12:50 -0800)]
Don't leave vncviewer processes running if xm create fails
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
ach61@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 19:04:28 +0000 (19:04 +0000)]
PDB: watchpoints for process context
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 18:56:10 +0000 (18:56 +0000)]
Enable magic sysrq in -xen x86_64 kernel
Signed-off-by: ian@xensource.com
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 18:38:13 +0000 (18:38 +0000)]
Update x86_64 Linux kernels to add SMP to -xen and -xenU plus magic sysrq to all.
Signed-off-by: ian@xensource.com
vh249@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 15:34:23 +0000 (15:34 +0000)]
Upgrade to Linux 2.6.12.5 patch
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
iap10@freefall.cl.cam.ac.uk [Mon, 15 Aug 2005 14:52:59 +0000 (14:52 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Mon, 15 Aug 2005 14:52:32 +0000 (14:52 +0000)]
Quieten down grant table code.
Signed-off-by: ian@xensource.com
akw27@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 13:50:39 +0000 (13:50 +0000)]
Trivial fixes for a couple of xenlinux compile warnings.
Signed-off-by: <andrew.warfield@cl.cam.ac.uk>
akw27@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 13:16:04 +0000 (13:16 +0000)]
Add generic_page_range() -- generic page table operation.
Linux has several instances of repeated code to do updates to a range
of PTEs. Mapping memory between domains in Xen also tends to need to
do this quite frequently, to ensure page tables have been constructed
and to look up PTE addresses when making mapping-related hypercalls.
This patch adds a generic PTE walk-and-fill operation that takes a
function pointer to call on leaf entries. direct_remap_area_pages()
is updated to use the new call, ass are abuses of
__direct_remap_area_pages.
This patch also introduces two new helper functions for working with
page tables when mapping memory between domains:
create_lookup_pte_addr() returns the machine address of a PTE,
allocating intermediate page tables as necessary. touch_pte_range()
ensures that page tables exist for a virtual address range.
Many of the existing linux page table operations (e.g. zap/remap/etc)
could be modified to use this interface, which would potentially
shorten up mm/memory.c a bit.
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 12:41:57 +0000 (12:41 +0000)]
Add a far more complete -xen config file for x86_64, based on FC3.
From: Chengyuan Li chengyuan.li@intel.com
NB: We should probably advertise the existence of the -xen configs. These are almost certainly what end-users should be using rather than -xen0 and -xenU, which are really for the convenience of developers.
Signed-off-by: ian@xensource.com
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 12:37:12 +0000 (12:37 +0000)]
merge
vh249@arcadians.cl.cam.ac.uk [Mon, 15 Aug 2005 12:26:20 +0000 (12:26 +0000)]
Small change to remove difference between Xen and mainline deactivate_mm.
While there, cleanup prepare_arch_switch as well. This generates
identical code.
Signed-off-by: Chris Wright <chrisw@osdl.org>
iap10@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 10:55:11 +0000 (10:55 +0000)]
Add a few options to the Linux x86_64 domU config.
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:52:34 +0000 (07:52 +0000)]
Just a very simple patch that removes:
rch/xen/x86_64/mm/init.c: In function `xen_init_pt':
arch/xen/x86_64/mm/init.c:560: warning: unused variable `old_level4
rch/xen/x86_64/kernel/apic.c: In function `smp_local_timer_interrupt':
arch/xen/x86_64/kernel/apic.c:48: warning: unused variable `cpu'
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:52:19 +0000 (07:52 +0000)]
The patch cleans up (ugly) setup.c that I wanted to fix for a long time
(but did not have time for that).
It should be compiled for the native x86_64 Linux as well (but not
tested yet, so I don't guarantee):
- no #if 0 or comment out
- use CONFIG_XEN for xen specific code
- preparation for merge to the upstream
- tested both dom0 (UP and SMP) and domU
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:51:58 +0000 (07:51 +0000)]
The patch attached removes pda.h and asm_offset.c by deleting unused or
unnecessary variables (that were used for old codes).
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:45:42 +0000 (07:45 +0000)]
Fix special backptr values on x86/64 to avoid spurious
wrpt emulations.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:26:04 +0000 (07:26 +0000)]
Fix cpu_khz reporting in XenLinux.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Aug 2005 07:24:30 +0000 (07:24 +0000)]
merge.
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 23:42:11 +0000 (23:42 +0000)]
Enable grant tables by default for network; merge fixes to grant_table.c.
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 23:39:25 +0000 (23:39 +0000)]
Enable grant tables by default for networking. Note that the restore path
(for resume/migrate) is not yet there, but should be shortly.
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 23:22:55 +0000 (23:22 +0000)]
Less verbosity from grant_tables.
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 23:20:22 +0000 (23:20 +0000)]
Less verbose grant tables when xen is verbose.
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 22:56:46 +0000 (22:56 +0000)]
Build fixes for grant tables.
Signed-off-by: Steven Hand <steven@xensource.com>
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 22:45:44 +0000 (22:45 +0000)]
Upgrade to Linux 2.6.12.4 patch
Signed-off-by: ian@xensource.com
--HG--
rename : patches/linux-2.6.12/linux-2.6.12.3.patch => patches/linux-2.6.12/linux-2.6.12.4.patch
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 22:09:18 +0000 (22:09 +0000)]
Clean up correct number of grant references on netif destory.
Signed-off-by: Steven Hand <steven@xensource.com>
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 21:48:37 +0000 (21:48 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 21:45:26 +0000 (21:45 +0000)]
Make the default network-script to be '' i.e. don't run a network script. Fix Makefile to actually install network-bridge script.
Signed-off-by: ian@xensource.com
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 20:34:41 +0000 (20:34 +0000)]
merge
smh22@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 20:34:13 +0000 (20:34 +0000)]
Allow use of grant tables for netdev tx+rx rings. Code is kinda
ugly due at least in part to the fact that we still have separate
_TX and _RX grant config options - expect this to be unified soon.
Signed-off-by: Steven Hand <steven@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 18:58:25 +0000 (18:58 +0000)]
Fix __pte,__pmd,__pgd for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 17:44:30 +0000 (17:44 +0000)]
Reduce Xen noise on x86/64.
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 17:33:32 +0000 (17:33 +0000)]
merge.
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 17:32:30 +0000 (17:32 +0000)]
Some arch/x86 gnttab cleanups in Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 16:55:34 +0000 (16:55 +0000)]
Now we have verbose=y in Xen by default, tidy up a few unhelpful printk's.
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 09:17:54 +0000 (09:17 +0000)]
Avoid stack overflow in netback by statically allocating the
grant-table map/unmap arrays. Spotted by Michael Vrable.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 09:07:56 +0000 (09:07 +0000)]
Currently xm list --long only displays info about the last domain. The
attached patch fixes this so it displays info about each domain.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 09:06:32 +0000 (09:06 +0000)]
This patch fixes the booting problems on machines with >4GB memory, and
is applicable to both x86_64 and x86 PAE.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 14 Aug 2005 08:09:06 +0000 (08:09 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sun, 14 Aug 2005 07:32:21 +0000 (07:32 +0000)]
Fix x86_64 build.
From: Nakajima, Jun [jun.nakajima@intel.com]
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 22:04:22 +0000 (22:04 +0000)]
merge...
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 22:02:54 +0000 (22:02 +0000)]
New 'network-bridge' script that uses ifdown/ifup to configure the interface rather than trying to transfer addresses and routes. (Suggested by Gerd Knorr)
Although Li Ge has had problems with this script he had trouble with the previous too. I think this new one should work for more people, particularly those using DHCP on their primary dom0 interface.
Debugging is currently enabled ("sh -x") so a log of the script's execution is output to /var/log/xend.log
Signed-off-by: ian@xensource.com
--HG--
rename : tools/examples/network => tools/examples/network-bridge
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:55:11 +0000 (21:55 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:52:46 +0000 (21:52 +0000)]
Add "set_pte_at_sync" (integrated invlpg) in Linux i386/mm/highmem.c to improve performance for domains with >900MB of memory.
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:26:49 +0000 (21:26 +0000)]
Optimize the Linux arch xen implementation of "set_pte_at".
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:03:39 +0000 (21:03 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 21:01:35 +0000 (21:01 +0000)]
I missed a couple of files out of the patch to wrap calls to update_va_mapping with BUG_ON(). [We really need an equivalent of 'citool' for mercurial...]
Signed-off-by: ian@xensource.com
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 20:49:29 +0000 (20:49 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Sat, 13 Aug 2005 20:47:47 +0000 (20:47 +0000)]
Add some profiling support for writeable pagetables.
Signed-off-by: ian@xensource.com
akw27@arcadians.cl.cam.ac.uk [Sat, 13 Aug 2005 16:01:23 +0000 (16:01 +0000)]
Fix .hgignore to reflect change in parallax directory structure.
akw27@arcadians.cl.cam.ac.uk [Sat, 13 Aug 2005 15:47:53 +0000 (15:47 +0000)]
Remove unnecessary union in grant table map/unmap ops.
All addresses, host virtual and PTEs, are now passed in the cunningly
ambiguous "host_addr" field, rather than in an anonymous union.
kaf24@firebug.cl.cam.ac.uk [Sat, 13 Aug 2005 09:06:44 +0000 (09:06 +0000)]
If block-create didn't work, then chances are block-destroy doesn't work
either right :-)
In this case, XendDomain.py is just calling a function that doesn't
exist (device_destroy instead of device_delete).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 13 Aug 2005 09:06:20 +0000 (09:06 +0000)]
xm block-create doesn't work. It seems like this command hasn't even
been tested (perhaps since the un-Twisting?). This particular problem
was that one function was being called with self instead of the right
argument and another function's return value was being used when it
didn't actually return anything.
This patch also improves the error handling a bit by making sure we
don't thrown an exception on a log statement with a None value. In
general, one should always use the % formatter instead of concatination
for strings in Python (even though this is not what this patch does).
Signed-off-by: Anthony Liguori
akw27@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 17:52:47 +0000 (17:52 +0000)]
This changest allows grant mappings to arbitrary PTEs.
The map operation now takes PTE addresses as well as virtual
addresses. The contains_pte flag is used to indicate what sort of
address is in the map request.
Additionally, this patch:
- fixes grant mappings to user space.
- fixes overflow testing when you run out of maptrack entry space.
Signed-off-by: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
Signed-off-by: Leoffrey Lefebvre <geoffrey.g.lefebvre@intel.com>
iap10@freefall.cl.cam.ac.uk [Fri, 12 Aug 2005 16:59:24 +0000 (16:59 +0000)]
merge
iap10@freefall.cl.cam.ac.uk [Fri, 12 Aug 2005 16:05:37 +0000 (16:05 +0000)]
Remove the BUG() from HYPERVISOR_update_va_mapping and change all the appropriate callers to wrap in BUG_ON()
Signed-off-by: ian@xensource.com
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 15:59:34 +0000 (15:59 +0000)]
Build xenstore interface as shared library.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 14:53:26 +0000 (14:53 +0000)]
another merge
vh249@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 13:33:57 +0000 (13:33 +0000)]
forget to substitute CC back to gcc
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 13:29:57 +0000 (13:29 +0000)]
merge
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 13:06:23 +0000 (13:06 +0000)]
Fix wallclock time when the offset relative to the epoch
(1 Jan 1970 00:00:00) is negative. This happens in some
LTP tests, for example.
Signed-off-by: Keir Fraser <keir@xensource.com>
vh249@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 13:05:50 +0000 (13:05 +0000)]
make needlessly global functions static and use NULL instead of 0 for pointer
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
vh249@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 10:51:39 +0000 (10:51 +0000)]
not valid file descriptor is -1 not 0
vh249@arcadians.cl.cam.ac.uk [Fri, 12 Aug 2005 10:48:42 +0000 (10:48 +0000)]
remove pointless NULL checks before free()
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 12 Aug 2005 09:14:02 +0000 (09:14 +0000)]
Rearrange code in __start_xen() to work around internal
compiler error in x86/64 gcc.
Signed-off-by: Keir Fraser <keir@xensource.com>